home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / gzip 1.2.2 / cextras-1.0 / StdLib-extras.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-09  |  1.3 KB  |  55 lines  |  [TEXT/MPS ]

  1. /*
  2.     StdLib-extras.h
  3.     
  4.     There are two ways to use this file.
  5.  
  6.         1. use `#include <StdLib-extras.h>'
  7.         
  8.             or
  9.         
  10.         2. Copy these declarations to the end of the stock StdLib.h file
  11.  
  12.     Copyright (c) 1993 Anthony C. Ard.
  13.  
  14.     This program is free software; you can redistribute it and/or
  15.     modifiy it under the terms of the GNU General Public License
  16.     as published by the Free Software Foundation; either version 2
  17.     of the License, or (at your option) any later version.
  18.     
  19.     This program is distributed in the hope that it will be useful,
  20.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22.     GNU General Public License for more details.
  23.     
  24.     You should have received a copy of the GNU General Public License
  25.     along with this program; if not, write to the Free Software
  26.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  27. */
  28.  
  29. #ifndef StdLib-extras_h
  30. #define StdLib-extras_h
  31.  
  32. #include <StdLib.h>
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. /* void *alloca( size_t ); */
  39.  
  40. int dup2( int old, int new );
  41. char *gcvt( double value, int digits, char *buff );
  42. int isatty( int fd );
  43.  
  44. /* High-powered random functions */
  45. void srandom( unsigned long x );
  46. char *initstate( unsigned long seed, char *arg_state, int n );
  47. char *setstate( char *arg_state );
  48. long random( void );
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #endif StdLib-extras_h
  55.